[py][bidi]: enable download event tests for firefox#16587
[py][bidi]: enable download event tests for firefox#16587navin772 merged 2 commits intoSeleniumHQ:trunkfrom
Conversation
PR Compliance Guide 🔍(Compliance updated until commit 5ca7c96)Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label Previous compliance checksCompliance check up to commit 56e98cd
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
User description
🔗 Related Issues
💥 What does this PR do?
Enables
test_add_event_handler_download_endandtest_add_event_handler_download_will_begintests for Firefox.From Firefox 145, these events are supported.
Also, makes the assertion generalized in case of existing downloads.
🔧 Implementation Notes
💡 Additional Considerations
🔄 Types of changes
PR Type
Tests
Description
Remove xfail markers for Firefox download event tests
Generalize filename assertion to handle existing downloads
Support Firefox 145+ download event functionality
Diagram Walkthrough
File Walkthrough
bidi_browsing_context_tests.py
Enable Firefox download event tests with generalized assertionspy/test/selenium/webdriver/common/bidi_browsing_context_tests.py
@pytest.mark.xfail_firefoxdecorator fromtest_add_event_handler_download_will_begintest@pytest.mark.xfail_firefoxdecorator fromtest_add_event_handler_download_endtestequality